﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Community.CsharpSqlite
{
    class FileLockLevel
    {
        /*
** CAPI3REF: File Locking Levels
**
** SQLite uses one of these integer values as the second
** argument to calls it makes to the xLock() and xUnlock() methods
** of an [sqlite3_io_methods] object.
*/
        //#define SQLITE_LOCK_NONE          0
        //#define SQLITE_LOCK_SHARED        1
        //#define SQLITE_LOCK_RESERVED      2
        //#define SQLITE_LOCK_PENDING       3
        //#define SQLITE_LOCK_EXCLUSIVE     4
        public const int SQLITE_LOCK_NONE = 0;
        public const int SQLITE_LOCK_SHARED = 1;
        public const int SQLITE_LOCK_RESERVED = 2;
        public const int SQLITE_LOCK_PENDING = 3;
        public const int SQLITE_LOCK_EXCLUSIVE = 4;
    }
}
